//app.js
App({
  onLaunch: function () {
    // 展示本地存储能力
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
  },
  // serverUrl: 'http://192.168.1.200/api/about/',    //本地服务器URL
  serverUrl: 'https://dayiyi.egw001.com/api/',
  openid: '',      //用户ID
  phone: '',
  suc: 'success',    //请求成功
  error: 'error',    //请求失败
  recomendID:0,    //推荐人的id
  globalData: {
    userInfo: null,
    UserInfor_Key: "ZHY_USERINFOR",      //用户信息key
    OPENID_KEY: 'ZHY_OPENIDKEY',         //openid Key
    CARID_KEY: 'ZHY_CARIDKEY',            //购物车跳出结算传carid
    COUPONID: 'ZHY_COUPONID',
  },
  address: '天津市南开区奕聪花园'
})
// wx.setBackgroundColor({
//   backgroundColor: '#ffffff', // 窗口的背景色为白色
// })